package net4.FaWave;

import net4.FaWaveInitData;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class FaWaveActivity extends BaseActivity {
	private Button btnAccountManager;
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        InitControl();
        
        FaWaveInitData data = new FaWaveInitData(this);
        data.InitAllData();
    } 
    
    private void InitControl(){
    	btnAccountManager = (Button)this.findViewById(R.id.btnAccountManager);
    	btnAccountManager.setOnClickListener(new Button.OnClickListener() {
            public void onClick(View v) {
            	//Context context = v.getContext();
            	Intent intent = new Intent("net4.FaWave.AccountActivity");
            	//Intent intent = new Intent(FaWaveActivity.this, AccountActivity.class);
                startActivity(intent);
            }
        });
    }
}